package task.task7;
import task.task6.Employee;
public class EmployeeSalary extends Employee{
	private float basicWage;
	private float allowance;
	private float bonus;
	public float getBasicWage() {
		return basicWage;
	}
	public void setBasicWage(float basicWage) {
		this.basicWage = basicWage;
	}
	public float getAllowance() {
		return allowance;
	}
	public void setAllowance(float allowance) {
		this.allowance = allowance;
	}
	public float getBonus() {
		return bonus;
	}
	public void setBonus(float bonus) {
		this.bonus = bonus;
	}
	public EmployeeSalary(){
		super();
	}
	public EmployeeSalary(String id,String name,String department,char sex,String cardID,String phone,String  email,float basicWage,float allowance,float bonus){
		super(id,name,department,sex,cardID,phone,email);
		this.basicWage=basicWage;
		this.allowance=allowance;
		this.bonus=bonus;
	}
	public void showEmployee(){
		super.showEmployee();
		System.out.println("\t"+basicWage+"\t"+allowance+"\t"+bonus);
	}

}
